cqjs.component('searchView', {
    template:`<div>
        <el-button plain @click="$props.onSearch" size="small" icon="el-icon-search">查询</el-button>
        <!--<el-dropdown>          
            <input type='text'>
            <div slot="dropdown">
                <div>
                    form
                </div>
            </div>
        </el-dropdown>-->
        <span></span>
    </div>`,
    props:['onSearch'],
    data(){
        return{
            isOpen:false
        }
    },
    methods:{
        open(){
            this.isOpen=true;
        }
    }
});